<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改商户信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-merchantInfo-edit" th:object="${merchantInfo}">
            <input name="merno" th:field="*{merno}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户全称：</label>
                <div class="col-sm-8">
                    <input name="merName" th:field="*{merName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户简称：</label>
                <div class="col-sm-8">
                    <input name="merShortname" th:field="*{merShortname}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">商户类别(0-标准类、1-优惠类、2-减免类)：</label>
                <div class="col-sm-8">
                    <input name="merCategory" th:field="*{merCategory}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">商户性质(0-企业、1-个人、(3-Mpos个人、4-Mpos企业、5-大Pos个人、6-大Pos企业 - 机构商户专用))：</label>
                <div class="col-sm-8">
                    <input name="merNature" th:field="*{merNature}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户类型(0-传统商户、1-手刷(MPOS)商户、2-机构商户、3-闪银Pro 4- 理财商户、5-电签商户) -1 未知商户：</label>
                <div class="col-sm-8">
                    <select name="merType" class="form-control m-b" required>
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户状态0-正式、1-停用、2-待提交资质、3-审核中、4-审核打回[退回修改]、5-待绑定终端 6:身份认证[手刷实名认证第一步] 7:结算卡认证[手刷实名认证第二步] 8:绑定店铺[手刷实名认证第三步]9 企业商户状态-终止审核状态 10信用卡认证(电签)：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="merStatus" value="" required>
                        <label th:for="merStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户注册地址-省市区(英文逗号隔开)：</label>
                <div class="col-sm-8">
                    <input name="merArea" th:field="*{merArea}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户注册地址-详细地址：</label>
                <div class="col-sm-8">
                    <input name="merAddress" th:field="*{merAddress}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">法人姓名：</label>
                <div class="col-sm-8">
                    <input name="legalName" th:field="*{legalName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">法人证件 0-身份证、1-护照：</label>
                <div class="col-sm-8">
                    <input name="legalCer" th:field="*{legalCer}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">法人证件号码：</label>
                <div class="col-sm-8">
                    <input name="legalCerno" th:field="*{legalCerno}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">行业类别 默认标准类：</label>
                <div class="col-sm-8">
                    <input name="indCategory" th:field="*{indCategory}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">行业MCC：</label>
                <div class="col-sm-8">
                    <input name="indMcc" th:field="*{indMcc}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户联系人：</label>
                <div class="col-sm-8">
                    <input name="linkMan" th:field="*{linkMan}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">联系方式(手机或固话)：</label>
                <div class="col-sm-8">
                    <input name="linkPhone" th:field="*{linkPhone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">联系人邮箱：</label>
                <div class="col-sm-8">
                    <input name="linkEmail" th:field="*{linkEmail}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">商户等级：A-Z ;A最低：</label>
                <div class="col-sm-8">
                    <input name="merLevel" th:field="*{merLevel}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">所属服务商：</label>
                <div class="col-sm-8">
                    <input name="agentNo" th:field="*{agentNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">添加日期：</label>
                <div class="col-sm-8">
                    <input name="addDate" th:field="*{addDate}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">添加时间：</label>
                <div class="col-sm-8">
                    <input name="addTime" th:field="*{addTime}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">交易状态 0-开通、1-禁用：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="tradStatus" value="">
                        <label th:for="tradStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">结算状态 -1 手动：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="settleStatus" value="">
                        <label th:for="settleStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否黑名单 0-否、1-是：</label>
                <div class="col-sm-8">
                    <input name="isblacklist" th:field="*{isblacklist}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否白名单 0-否、1-是：</label>
                <div class="col-sm-8">
                    <input name="iswhitelist" th:field="*{iswhitelist}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否收取手续费 0-收、1-不收：</label>
                <div class="col-sm-8">
                    <input name="ischarge" th:field="*{ischarge}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收取方式 0-按笔、1-按费率：</label>
                <div class="col-sm-8">
                    <input name="collectway" th:field="*{collectway}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">展示身份证号：</label>
                <div class="col-sm-8">
                    <input name="showLegalcerno" th:field="*{showLegalcerno}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">展示手机号：</label>
                <div class="col-sm-8">
                    <input name="showLinkphone" th:field="*{showLinkphone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="note" th:field="*{note}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">认证时间：</label>
                <div class="col-sm-8">
                    <input name="attestationDate" th:field="*{attestationDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">省市区code码：</label>
                <div class="col-sm-8">
                    <input name="merCode" th:field="*{merCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否现场注册 0 是 1 否：</label>
                <div class="col-sm-8">
                    <input name="liveStstus" th:field="*{liveStstus}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">密码：</label>
                <div class="col-sm-8">
                    <input name="pwd" th:field="*{pwd}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户被打回 需要补充的图片信息：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="merPictureStatus" value="">
                        <label th:for="merPictureStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机构原商户号-用于机构进件：</label>
                <div class="col-sm-8">
                    <input name="orgMerno" th:field="*{orgMerno}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">结算周期 0:D0 1:T1：</label>
                <div class="col-sm-8">
                    <input name="settleCycle" th:field="*{settleCycle}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">现场注册标识：</label>
                <div class="col-sm-8">
                    <input name="liveSign" th:field="*{liveSign}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">0 对公 1 对私法人 2对私非法人：</label>
                <div class="col-sm-8">
                    <select name="merBusinessType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">客户代码(998+地区码+MCC+随机四位数)：</label>
                <div class="col-sm-8">
                    <input name="merid" th:field="*{merid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">盐值：</label>
                <div class="col-sm-8">
                    <input name="salt" th:field="*{salt}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">会员状态，初始为空，购买后变为到期时间：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="vipStatus" value="">
                        <label th:for="vipStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">会员购买日期：</label>
                <div class="col-sm-8">
                    <input name="purchaseDate" th:field="*{purchaseDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">绑定终端数量：</label>
                <div class="col-sm-8">
                    <input name="posNumber" th:field="*{posNumber}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">资料是否修改1_未修改2_已修改：</label>
                <div class="col-sm-8">
                    <input name="merModify" th:field="*{merModify}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否有购买权限 0-有、1-无；电签商户：0-开启、1-关闭：</label>
                <div class="col-sm-8">
                    <input name="buyingPower" th:field="*{buyingPower}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否开启小额双免：</label>
                <div class="col-sm-8">
                    <input name="smallAmount" th:field="*{smallAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否开启延迟保障：</label>
                <div class="col-sm-8">
                    <input name="delayGuarantee" th:field="*{delayGuarantee}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户注册地址[省市区]：</label>
                <div class="col-sm-8">
                    <input name="merareas" th:field="*{merareas}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户注册详细地址：</label>
                <div class="col-sm-8">
                    <input name="merdetailedaddress" th:field="*{merdetailedaddress}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">身份证有效期：</label>
                <div class="col-sm-8">
                    <input name="legalDate" th:field="*{legalDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">钱宝商户编号：</label>
                <div class="col-sm-8">
                    <input name="ldMerno" th:field="*{ldMerno}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机构商户图片状态 0 未上传 1 已上传：</label>
                <div class="col-sm-8">
                    <input name="picture" th:field="*{picture}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">客户端类型：1 android 2 ios：</label>
                <div class="col-sm-8">
                    <input name="sysMark" th:field="*{sysMark}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">市场类型：</label>
                <div class="col-sm-8">
                    <input name="channel" th:field="*{channel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">流水号：</label>
                <div class="col-sm-8">
                    <input name="orgSerial" th:field="*{orgSerial}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">调价日期：</label>
                <div class="col-sm-8">
                    <input name="modifyPriceDate" th:field="*{modifyPriceDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户会员模板代号：</label>
                <div class="col-sm-8">
                    <input name="vipCode" th:field="*{vipCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否算达标 0-算、1-不算：</label>
                <div class="col-sm-8">
                    <input name="isstandard" th:field="*{isstandard}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">A-A版电签9号 B-B版电签5号 (5-5号 6-9号，用于接口库路由)：</label>
                <div class="col-sm-8">
                    <select name="merDqType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">附加费是否调价 0-未调、1-已调：</label>
                <div class="col-sm-8">
                    <input name="tjFj" th:field="*{tjFj}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">申请商户工单：</label>
                <div class="col-sm-8">
                    <input name="applyId" th:field="*{applyId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">MCC编号：</label>
                <div class="col-sm-8">
                    <input name="mccNum" th:field="*{mccNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商户来源  1MposAPP   2大POS商户版   3服务商APP   4总后台    5服务商平台：</label>
                <div class="col-sm-8">
                    <select name="appType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">银联终端号：</label>
                <div class="col-sm-8">
                    <input name="bankterno" th:field="*{bankterno}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "merchantInfo/merchantInfo";
        $("#form-merchantInfo-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-merchantInfo-edit').serialize());
            }
        }
    </script>
</body>
</html>